package com.example.mediamoudle.crop;

import android.graphics.Bitmap;

/**
 * @author: Mr.You
 * @create: 2022-11-22 11:36
 * @description:
 **/
public class VideoInfo {
    Bitmap bitmap;
    public long duration;
    public int type;
    public String videoPath;
    public int rotation;
    public int width;
    public int height;

    public Bitmap getBitmap() {
        return bitmap;
    }

    public void setBitmap(Bitmap bitmap) {
        this.bitmap = bitmap;
    }

    public long getDuration() {
        return duration;
    }

    public void setDuration(long duration) {
        this.duration = duration;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getVideoPath() {
        return videoPath;
    }

    public void setVideoPath(String videoPath) {
        this.videoPath = videoPath;
    }

    public VideoInfo(Bitmap bitmap, long duration, int type) {
        this.bitmap = bitmap;
        this.duration = duration;
        this.type = type;
    }
    public VideoInfo(int type) {

        this.type = type;
    }
    public VideoInfo(){

    }
    public VideoInfo(long duration, String videoPath, int type) {
        this.duration = duration;
        this.type = type;
        this.videoPath = videoPath;
    }
}
